#用for计数
squares = []
for counter in range(13):
        if counter == 10:
            break
        squares.append(counter **2)
print(squares)


#用while计数
nn = 1
while nn <= 5:
    print(nn)
    nn += 1